//==========================================================================
/**
* @file	  : Basic.h
* @author : cpzhang <chengpengzhang@gmail.com>
* created : 2010-4-23   11:52
* purpose : 
*/
//==========================================================================

#ifndef __Basic_h__
#define __Basic_h__

//
#include "Common.h"
#include "Radian.h"
//
namespace Euler
{
	class _MATH_EXPORT_ Basic
	{
	public:
		Basic();
		~Basic();

	public:
		//
		static inline Real Sqrt (Real fValue) 
		{ 
			return Real(sqrt(fValue)); 
		}

		//
		static inline Real Sqr (Real fValue) 
		{ 
			return fValue*fValue; 
		}

		//
		static inline Real Sin ( const Radian& rValue )
		{
			return sin(rValue._radian);
		}

		//
		static inline Real Cos ( const Radian& rValue )
		{
			return cos(rValue._radian);
		}
	};
}

#endif // __Basic_h__
